package cn.byapps.chensheng.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import cn.byapps.chensheng.entity.WxMaterialNews;

/**
 * @author iva0512@gmail.com
 */
public interface WxMaterialNewsDao {
    
    @Select("select * from wx_material_news")
    List<WxMaterialNews> findAll();
    @Select("select * from wx_material_news")
    List<WxMaterialNews> findByPage(@Param("pageNum") Integer pageNum,@Param("pageSize") Integer pageSize);
}